﻿# -*- coding: utf-8 -*-
a, b = int(input('输入一个整数，判断是否是质数。\n')), 0
for i in range(2, a):
#     if a % i == 0:
#         b += 1
    b = 1  if a % i == 0 else b
print(f'您输入的{a}是个质数。' if b == 0 else f'您输入的{a}不是个质数。')